.container {
    width: var(--width-);
    height: var(--height-);
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 4px;
    color: #111111;

    > .top {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        font-size: 15px;
        padding: 8px 16px 0;
    }

    > .center {
        height: 86%;
        border: 2px dashed #d1d1d1;
        font-size: 28px;
        font-weight: bold;
        margin: 16px 16px;
        overflow-y: scroll;

        &::-webkit-scrollbar {
            display: none;
        }

        &:global(.show) {
            border: none;
            column-count: var(--count-);
            column-gap: 16px;
        }

        > .card {
            position: relative;
            break-inside: avoid;
            border: 1px solid #d1d1d1;
            margin-bottom: 16px;
            font-size: 14px;
            overflow: hidden;

            &:hover {
                > .remove__icon {
                    top: 12px;
                    right: 12px;
                    opacity: 1;
                }
            }

            > .remove__icon {
                width: 25px;
                height: 25px;
                position: absolute;
                z-index: 100;
                opacity: 0;
                top: -10px;
                right: -10px;
                transition: all 0.5s ease;
                background-color: #111111;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #ffffff;
                cursor: pointer;
            }
        }

        > .content {
            width: 100%;
            height: 85%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            row-gap: 8px;

            &:global(.show) {
                height: 20%;
                border: 2px dashed #d1d1d1;
                font-size: 15px;
                font-weight: normal;
                break-inside: avoid;
                margin-bottom: 16px;
            }

            > .upload {
                width: 130px;
                height: 96px;

                &:global(.show) {
                    width: 43px;
                    height: 25px;

                    .sub__icon {
                        width: 100%;
                        height: 100%;
                    }
                }

                .sub__icon {
                    width: 100%;
                    height: 100%;
                }
            }
        }

        > .bottom__rule {
            height: 15%;
            display: flex;
            flex-direction: row;
            color: #767676;
            font-size: 13px;
            font-weight: normal;

            > .item {
                width: 33%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                > ul {
                    > li {
                        list-style: disc;

                        > a {
                            text-decoration: underline;
                            transition: all 0.2s ease;

                            &:hover {
                                color: #111111;
                            }
                        }
                    }
                }
            }
        }
    }

    > .bottom {
        width: 100%;
        height: 6%;
        padding: 8px 16px;
        border-top: 1px solid #d1d1d1;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        > .bottom__btn {
            display: flex;
            flex-direction: row;
            column-gap: 8px;

            > .cancel__btn {
                padding: 8px 12px;
                color: #767676;
                border: 1px solid #d1d1d1;
                border-radius: 4px;
                transition: all 0.2s ease;

                &:hover {
                    color: #111111;
                    border-color: #111111;
                }
            }

            > .sub__btn {
                padding: 8px 12px;
                color: #767676;
                border: 1px solid #d1d1d1;
                border-radius: 4px;
                transition: all 0.2s ease;

                &:hover {
                    color: #111111;
                    border-color: #111111;
                }

                &:global(.disable) {
                    background-color: #eeeeee;
                    border: none;
                    cursor: not-allowed;
                    pointer-events: none;
                }
            }
        }
    }
}
